#ifndef GAME_OVER_TEXT_H
#define GAME_OVER_TEXT_H

#include "consts.h"
#include "cash.h"

class GAME_OVER_TEXT : public QObject, public QGraphicsItemGroup
{
    Q_OBJECT
private:
    GRAPHICS_PIXMAP_ITEM *item_game;
    GRAPHICS_PIXMAP_ITEM *item_over;

    QTimeLine *tl_anims;

public:
    GAME_OVER_TEXT(CASH *cash);
    ~GAME_OVER_TEXT();

    QPainterPath shape() const;

    void anim_init();

public slots:
    void anim_show();
    void anim_hide();

};

#endif // GAME_OVER_TEXT_H
